Authorizations
A valid API key generated in Topsort's UI.
Path Parameters
The ID of the campaign.
Query Parameters
The start date for which reports will be generated.
The end date for which reports will be generated.
Response
Successful Response
curl --request GET \
--url https://api.topsort.com/public/v1/toppie/reporting/campaigns/{campaign-id} \
--header 'Authorization: Bearer <token>'
{
"reports": [
{
"adSpend": 1,
"chargedClicks": 1,
"chargedImpressions": 1,
"clicks": 1,
"conversionRate": 123,
"cpc": 123,
"ctr": 123,
"impressions": 1,
"purchaseCount": 1,
"purchaseRevenue": 1,
"roas": 123,
"timegroup": "2023-12-25"
}
]
}
Retrieve a detailed report for a specific campaign.
curl --request GET \
--url https://api.topsort.com/public/v1/toppie/reporting/campaigns/{campaign-id} \
--header 'Authorization: Bearer <token>'
{
"reports": [
{
"adSpend": 1,
"chargedClicks": 1,
"chargedImpressions": 1,
"clicks": 1,
"conversionRate": 123,
"cpc": 123,
"ctr": 123,
"impressions": 1,
"purchaseCount": 1,
"purchaseRevenue": 1,
"roas": 123,
"timegroup": "2023-12-25"
}
]
}
A valid API key generated in Topsort's UI.
The ID of the campaign.
The start date for which reports will be generated.
The end date for which reports will be generated.
Successful Response
Show child attributes
Was this page helpful?